package cn.tedu.ems.service;

import cn.tedu.ems.pojo.dto.TeacherDTO;
import cn.tedu.ems.pojo.dto.TeacherUpdateDTO;
import cn.tedu.ems.pojo.vo.TeacherAndCourseListVO;
import cn.tedu.ems.pojo.vo.TeacherDetailVO;
import cn.tedu.ems.pojo.vo.TeacherListVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 教师模块的业务层接口类
 *
 * @Author java@Wqy
 * @Version 0.0.1
 */
@Transactional
public interface ITeacherService {
    void insert(TeacherDTO teacherDTO);

    void deleteById(Long id);

    void updateById(Long id,TeacherUpdateDTO teacherUpdateDTO);

    TeacherDetailVO selectDetail(String name,String jobId);

    TeacherDetailVO selectById(Long id);

    List<TeacherListVO> select();

    List<TeacherListVO> selectWd(String wd);

    List<TeacherAndCourseListVO> selectTCList();

    List<TeacherAndCourseListVO> selectWdToTC(String wd);
}
